package com.hbzhit.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hbzhit.common.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 项目成员表
 *
 * @author 1
 * @date 2022-04-28 10:31:49
 */
@ApiModel("项目成员表")
@TableName("sys_pro_user")
@Getter
@Setter
public class ProUserEntity extends BaseEntity {

    private static final long serialVersionUID = -3789242591875912024L;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "项目id")
    private Long proId;

    @ApiModelProperty(value = "0-员工，1-项目经理，2-部门经理")
    private Integer type;

    @ApiModelProperty("删除标识")
    @TableField(fill = FieldFill.INSERT)
    @Getter(AccessLevel.NONE)
    private Integer isDel;
}
